package bancoperu.model;

import java.util.Date;
import bancoperu.model.Customer;
import bancoperu.model.Account;

public class Transaction {

	private int idTransaction;
	private Account account;
	private Customer customer;
	private int type;
	private Date transaction;
	private double amount;
	private Account account2;
	private String transactionString;
	
	

	public int getIdTransaction() {
		return idTransaction;
	}

	public void setIdTransaction(int idTransaction) {
		this.idTransaction = idTransaction;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Date getTransaction() {
		return transaction;
	}

	public void setTransaction(Date transaction) {
		this.transaction = transaction;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public Account getAccount2() {
		return account2;
	}

	public void setAccount2(Account account2) {
		this.account2 = account2;
	}

	public String getTransactionString() {
		return transactionString;
	}

	public void setTransactionString(String transactionString) {
		this.transactionString = transactionString;
	}

}
